<div id="box-<?php echo $item['name']; ?>">
	<table class="columns" cellpadding="0" cellspacing="0">
		<?php foreach ($item['columns'] as $subitem): ?>
		<tr>
			<td>
				<input id="<?php echo $subitem['TABLE_NAME'] . '-' . $subitem['COLUMN_NAME']; ?>" name="tables[<?php echo $subitem['TABLE_NAME']; ?>][]" value="<?php echo $subitem['COLUMN_NAME']; ?>" class="check" type="checkbox" checked="checked" />
				<label for="<?php echo $subitem['TABLE_NAME'] . '-' . $subitem['COLUMN_NAME']; ?>"><?php echo ($subitem['PRIMARY'] ? '*' : '') . $subitem['COLUMN_NAME'] . ($subitem['NULLABLE'] ? ' (nulo)' : ''); ?></label>
			</td>
			<td class="right"><?php echo $subitem['DATA_TYPE'] . ($subitem['LENGTH'] ? '(' . $subitem['LENGTH'] . ')' : $subitem['LENGTH']); ?></td>
		</tr>
		<?php endforeach; ?>
	</table>
</div>